xenstat: Use backend path which is compatible with pvops and 2.6.18-xen kernels.
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 7 Jul 2009 13:01:30 +0000 (14:01 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 7 Jul 2009 13:01:30 +0000 (14:01 +0100)
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
tools/xenstat/libxenstat/src/xenstat_linux.c

index 2ac3ccfa01b03bd16ca43a09ba6b77f24abf1a1b..5d0b976eeccfc013205c95f8da8d846086e2504f 100644 (file)
@@ -31,7 +31,7 @@
 
 #include "xenstat_priv.h"
 
-#define SYSFS_VBD_PATH "/sys/devices/xen-backend/"
+#define SYSFS_VBD_PATH "/sys/bus/xen-backend/devices"
 
 struct priv_data {
        FILE *procnetdev;